Attention commands enhancement

ABSTRACT

An apparatus includes a Mobile Termination (MT) that offers functions related to communication with a network, a Terminal Equipment (TE) that offers services to a user of the apparatus, and a Terminal Adaptor (TA) that allows communication between the MT and the TE using Attention (AT) commands. A packet domain event reporting command (+CGEREP) is one type of AT command that enables or disables sending of result codes from the MT to the TE in case certain events occur in the MT for a packet domain or in the network. One such type of event is a Packet Data Protocol (PDP) context activation, for which the MT sends to the TE a result code that includes an integer type parameter to indicate the reason why a context activation request with PDP type IPv4v6 was not granted, and a context id parameter to indicate the capability of Mobile Termination for autonomously requesting a second address bearer, and the result of the second address bearer activation.

CROSS-REFERENCE

The present disclosure claims priority benefit to the followingapplications, which contents are all incorporated by reference herein:U.S. Provisional Application No. 61/389,157 (filed Oct. 1, 2010).

BACKGROUND

In the related art, certain methods related to PDP context activationand/or PDN connection activation were problematic due to the userequipment (UE) being split into a Mobile Termination (MT) and TerminalEquipment (TE). As such, the related art technologies do notsufficiently address such issues, and thus do not offer appropriatesolutions.

SUMMARY

The present inventors recognized at least the above-identified drawbacksof the related art. Based upon such recognition, the various featuresdescribed hereafter have been conceived such that certain methodsrelated to PDP context activation and/or PDN connection activation aremore efficiently and effectively performed. In particular, theembodiments in the present disclosure provide a scheme by providing areason as to why only a single IP address is assigned for the PDPcontext activation or the PDN connection activation, the capability ofthe Mobile Termination for autonomously requesting a second addressbearer, and the result of the second address bearer activation.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a conceptual diagram of a network architecture including aGeneral Packet Radio Service (GPRS) core network.

FIG. 2 shows a conceptual diagram of a basic evolved packet systemarchitecture for a 3GPP Evolved Packet System (EPS) that supportsLong-Term Evolution. (LTE).

FIG. 3 shows a conceptual basic signal flow diagram for PDN connectionestablishment.

FIG. 4 shows an abstract architecture comprising Terminal Equipment (TE)and Mobile Termination (MT) interfaced by a Terminal Adaptor (TA).

FIG. 5 shows a table for +CGEREP parameter command syntax.

FIG. 6 shows an exemplary signal flow and procedures between a handsetand network that can implement the embodiments.

FIG. 7 shows an apparatus having a Mobile Termination (MT) that offersfunctions related to communication with a network, a Terminal Equipment(TE) that offers services to a user of the apparatus, and a TerminalAdaptor (TA) that allows communication between the MT and the TE usingAttention (AT) commands.

DETAILED DESCRIPTION

The inventive concepts and features herein are generally explained interms of the 3GPP technical standard. However, such details are notmeant to limit the various features described herein, which areapplicable to other types of mobile and/or wireless (radio)communication systems and methods.

FIG. 1 shows a conceptual diagram of a network architecture including aGeneral Packet Radio Service (GPRS) core network 100, which is thecentral part of the GPRS that allows 2G, 3G and Wideband Code DivisionMultiple Access (WCDMA) mobile networks to transmit Internet Protocol(IP) packets to external networks such as the Internet. The GPRS corenetwork 100 provides mobility management, session management andtransport for IP packet services in Global System for Mobilecommunications (GSM) networks, WCDMA networks, and the like. The GPRScore network also provides support for other additional functions suchas billing, subscriber authentication and authorization, and the like.As with GSM in general, GPRS is an open standards driven system, and thestandardization body is the 3GPP. The GPRS system is an integrated partof the GSM network switching subsystem, which is based on technicalstandards developed by the European Telecommunications StandardsInstitute (ETSI). The GSM standard is succeeded by the 3G UniversalMobile Telecommunications System (UMTS) standard, which is furtherevolving to the 4G Long-Term Evolution (LTE) Advanced standard.

Referring back to FIG. 1, the GPRS core network 100 includes a GatewayGPRS Support Node (GGSN) 102 connected to the Internet and one or moreIntranets via the Gi interface, which is an IP-based interface. One ormore Serving GPRS Support Node (SGSNs) 104, 106 are connected to theGGSN 102 via the Gn interface, which is an IP-based interface. Each SGSN104 is connected with an HLR 103 via the Gr interface (that supportsmessages of MAP3 protocol), and an MSC 105 via the Gs interface (thatallows paging and station availability when performing data transfer).Also, the SGSN 104 is connected with an RMC 108 via the Iu-PS interface(that supports the Packet Switched domain), and the SGSN 106 isconnected to a PCY 110 via the Gb interface (that uses the Frame Relayor IP transmission protocol). The RNC 108 is connected with the UMTSradio network (RAN), and the PCU 110 is connected with the GSN radionetwork (BSS).

The General Packet Radio Service (GPRS) tunneling protocol, i.e. GTP, isthe basic Internet protocol used for the GPRS core network. GTP allowsend users of a GSM or WCDMA network to move (or roam) from place toplace while continuing to connect to the Internet (or other network) atthe GGSN. This is achieved by carrying the subscriber's data from thesubscriber's current Serving GSN to the GGSN which is handling thesubscriber's session. Three forms of GTP are used by the GPRS corenetwork: GTP-U (for transfer of user data in separated tunnels for eachPDP context, which will be described hereafter), GTP-C (for providingcontrol procedures to setup and delete PDP contexts, verify GSNavailability, and provide updates), and GTP′ (for transferring billingor charging data from GSNs to a charging function).

The packet data protocol (PDP) context is a data structure that existsfor both the Serving GPRS Support Node (SGSN) and the Gateway GPRSSupport Node (GGSN), which contains the subscriber's session informationwhen the subscriber has an active session. When a mobile terminal wantsto use GPRS, it must first attach with the network and then activate aPDP context. Doing so allocates a PDP context data structure in the SGSNthat the subscriber is currently visiting, and the GGSN serving thesubscriber's access point. The data recorded includes: the subscriber'sIP address, the subscriber's IMSI, and the subscriber's Tunnel EndpointID (TEID) at the GGSN and at the SGSN. The TEID is a number allocated bythe GSN, which identifies the tunnelled data related to a particular PDPcontext. Several PDP contexts may use the same IP address. A so-calledSecondary PDP Context Activation procedure may be used to activate a PDPcontext while reusing the PDP address and other PDP context informationfrom an already active PDP context, but with a different QoS profile.Such procedure is called secondary, because it does not use theresulting PDP contexts that have no such relationship with the one thePDP address of which they reused. A total of 11 PDP contexts (with anycombination of primary and secondary) can co-exist. A Network ServiceAccess Point Identifier (NSAPI) can be used to differentiate among thedifferent PDP contexts.

FIG. 2 shows a conceptual diagram of a basic evolved packet systemarchitecture for a 3GPP Evolved Packet System (EPS) that supportsLong-Term Evolution (LTE).

The UE 202 (user equipment or other type of subscriber terminal)connects with a network (that includes an E-UTRAN) via an eNB 204(evolved Node B). The eNB is connected with a SGW 206 (Service Gateway)via the S1-U interface. Here, it should be noted that a dual-stack EPSbearer (to be explained later) can be established between the UE and thePDN-GW. The eNB and the SGW is connected together via an MME 205(Mobility Management Entity), whereby the eNB and the MME are connectedvia an S1-MME interface, and the SGW and the MME are connected via anS11 interface. The SGW is connected to a PDN-GW 208 via an S5/S8interface. The PDN-GW (Public Data Network Gateway) is connected to thePDN/IP Services network via the SGi interface.

FIG. 3 shows a conceptual basic signal flow diagram for PDN connectionestablishment during the attach procedure. In step (1), the attachrequest procedure is performed by the UE 301 sending an attach requestmessage to the MME 305 via the eNB 303. The attach request messagefurther contains a PDN connectivity request message indicating the PDNtype (IP versions) requested by the UE. The PDN connectivity request mayoptionally include an Access Point Name (APN). If the APN is notincluded, the message indicates that the APN is either not included(i.e. to use a default APN), or the APN will be sent to the MME 305 in aseparate message, as part of step (2), after ciphering and integrityprotection are enabled. In step (2), the authentication andauthorization phase is performed between the UE 301 and the HSS 311 viavarious network entities. The HSS (311) sends the subscription data tothe MME (305), if the UE is authenticated to use the EPS service. Instep (3), the MME 305 creates a session request that is sent to thePDN-GW 309 via the SGW 307. In step (4), the PDN-GW 309 creates sessionresponse that is sent to the eNB 303 via the MME 305. In step (5), theinitial context setup request/attach accept procedures are performedbetween the eNB 303 and the MME 305. Then, in step (6), radio bearerconfiguration is performed between the UE 301 and the eNB 303.

Thereafter, in step (7), the eNB 303 sends an initial context setupresponse message to the MME 305. In step (8), a direct transfer messagecontaining an attach complete message from the UE 301 is sent to the eNB303, which then sends the attach complete message to the MME 305 in step(9).

Thus, the UE 301 can start sending UL data to the PDN-GW 309 in step(10). In step (11), the MME 305 can send a modify bearer request to ehSGW 307, when can send a modify bearer response in response thereto instep (12). The PDN-GW 309 can start sending DL data to the UE in step(13).

Here, it should be noted that in part of step (3) being performed at thePDN-GW 309, the procedures for address/prefix allocation are performed.

A Public Data Network (PDN) connection (i.e. an IP connection) refers toan association between the UE and a PDN. Such association can berepresented by one IPv4 address and/or one /64 IPv6 prefix, which willbe described in more detail later. The PDN is responsible for IPaddress/prefix management. The PDN is identified by an APN (Access PointName) and the PDN is accessed via a PDN-GW (Gateway). The UEs and thenetwork use Access Point Names (APNs) for identification of the networkand for providing some information about the services related to thatnetwork.

It should be noted that the above explanations regarding the 3GPPEvolved Packet System (EPS) and the PDN connection are based on the 3GPPRelease 8 (Rel-8) technical specification. For pre-Release 8 systems,the Primary PDP context used in GPRS (and described previously withrespect to FIG. 1) is basically equivalent to the PDN connection of theRelease 8 system.

A more detailed explanation of the dual-stack EPS bearer (that is shownbetween the UE 202 and the PDN-GW 208 as shown in FIG. 2) will now beprovided hereafter. The logical concept of a bearer refers to anaggregate of one or more IP signal (or data) flows related to one ormore IP-related services. The Evolved Packet System (EPS) bearerestablished between the UE and the PDN-GW is used for transporting IPv4and/or IPv6 packets. During the setup or establishment of suchbearer(s), the Access Point Names (APNs) are used to find and connectwith the gateway(s) (such as the GGSN 102 in FIG. 1, the PDN-GW 208 inFIG. 2, etc.). The APN together with the subscription data from HSS, andthe PDN type requested by the UE, provide the necessary informationrelated to IP connectivity, the protocols to be used, and the like. Whenthe UE 202 requests a PDN connection, the MME 205 uses a default APN forthat UE or the full domain name of that APN and performs the appropriateprocedures and IP addressing after bearer setup.

With respect to IP addressing, Internet Protocols (such as IPv4 andIPv6) support packet-switched networking to provide data transmissionsacross multiple IP networks. Each data packet routed across one or morenetworks contains two numerical addresses respectively specifying thesource device and the destination device. Internet Protocol version 4(IPv4) is the current foundation for most Internet connections, but dueto the growth of IP packet communications, a greater number addressesare required, and thus Internet Protocol version 6 (IPv6) was developed.IPv4 employs 32 bits for an IP address, while IPv6 employs 128 bits.IPv6 has additional advantages with respect to security, privacy, andauthentication. A PDN type is assigned to the UE through steps (4)˜(6)of FIG. 3. If the PDN type of the PDN connection is IPv4 or IPv6 (i.e. asingle stack bearer), one IP address of the PDN type will be assigned tothe UE. If the PDN type of the PDN connection is IPv4v6 (i.e. adual-stack bearer), one IPv4 address and one IPv6 address will beassigned to the UE. A so-called IPv4/IPv6 dual-protocol stack (i.e.dual-stack) bearer enables devices and applications to use orautomatically select the desired protocol according to address typerequested by the application, using a single PDN connection, instead ofusing one PDN connection for IPv4 and another for IPv6.

As a result, the EPS bearer has three types: an IPv4 only bearer, anIPv6 only bearer, and an IPv4v6 bearer. The IPv4 only bearer isconfigured with one IPv4 address, the IPv6 only bearer is configuredwith one /64 prefix together with an interface identifier, and theIPv4v6 bearer is configured with both an IPv4 address and one /64 prefixand an interface identifier. The EPS bearer of the IPv4v6 type is a“dual-stack” bearer, because both the IPv4 protocols and IPv6 protocolsare supported in a single PDN connection.

The dual-stack approach for IP connectivity is different for systemsprior to Release 8, and for systems supporting Release 8 and beyond. Fornetworks supporting both IP versions prior to Release 8, two parallelPDP contexts, one of IPv4 type and one of IPv6 type, are employed. Fornetworks supporting both IP versions from Release 8 and beyond, thenetwork can allocate the UE (a) a single IPv4v6 PDN, or the network canallocate the UE (b) an IPv4 PDN connection and an IPv6 PDN connection.The case (b) may be employed by a Release 8 and beyond network whichsupports both IP versions, but chooses to allocate two PDN connectionsfor each address type separately, because the UE may be handed off to apre-Release 8 network which does not support the PDN connections of typeIPv4v6. For the network preferring behavior (b), the request with PDNtype IPv4v6 is granted by assigning a single-stack PDN connection, (e.g.with PDN type IPv4), and by signaling a cause code indicating thatnetwork supports single address bearers only. The UE received the causecode, should request a separate PDN connection of a second address type(e.g. IPv6).

When a primary (or initial) PDP context or a PDN connection is activated(or established) between the UE and the network, only a single IPaddress is assigned, despite the request for IPv4v6 addressing.

One reason for this may be because that network only supports one typeof IP address, or that the network can only support a single addressbearer only (either IPv4 only or and IPv6 on separate PDN connectionsonly,) instead of PDN type IPv4v6, as shown in the previously-describedcase (b). This network limitation is conveyed in the reason code in step(5) and (6) in FIG. 3.

For the case that the UE is split to a Mobile Termination (MT: such as amodem or other type of transceiver) and Terminal Equipment (TE: such asa computer of other device with processing functions), although MT isaware of the reason for the single address bearer allocation from thenetwork, the TE would not know this fact. For the case that networksupports single address bearer only, (1) the TE may erroneouslyinterpret that only one address assigned is because the network does notsupport the other address type, and gives up on requesting anotheraddress type bearer, and (2) the MT and TE do not know who shouldactivate the PDP context/PDN connection of the 2nd address type. Thiscauses the MT and the TE to wait for each other, or results in the MTand the TE both trying to activate the PDP context/PDN connection.

Thus, the present inventor recognized that such conventional techniquesfor PDP context activation or PDN connection activation for a split UEcould be improved. As a result, it was found that providing a reason asto why only a single IP address is assigned for the PDP contextactivation or the PDN connection activation would be advantageous toensure proper signal processing. In particular, the concept of adding areason code (and optionally a MT allocated <cid>) into the +CGEV event(which will be described in detail hereafter) has never been provided orsuggested in any known method prior to the work done by the presentinventor as described in this disclosure and in the priority documentdisclosures.

To better understand and to implement the technical solution conceivedby the present inventor, some details about the command syntax forvarious parameters and actions with respect to certain commands for thepacket domain in the AT command set for User Equipment (UE) need to beconsidered.

Attention (AT) commands are used for controlling Mobile Termination (MT)functions and GSM/UMTS/LTE network services from a Terminal Equipment(TE) such as a computer (equal to DTE: Data Terminal Equipment) througha Terminal Adaptor (TA) such as a data card (equal to DCE: Data Circuitterminating Equipment). Some AT commands are defined such way that theycan be easily applied to Mobile Termination (MT) of networks other thanGSM/UMTS/LTE.

FIG. 4 shows that such AT commands assumes an abstract architecturecomprising a TE (e.g. a computer) and a MT interfaced by a TA. The TE401, which performs various actions for the user and applications, maysend AT commands to the TA 403 that can send responses thereto back tothe TE 401. The TA 403 may send MT control messages to the MT 405, whichcan return MT status messages back to the TA 403. The MT 405 also sendsnetwork messages to the one or more networks.

This abstract architecture can be physically implemented in variousways: (1) TA, MT and TE as three separate entities; (2) TA integratedunder the MT cover, and the TE implemented as a separate entity; (3) TAintegrated under the TE cover, and the MT implemented as a separateentity; and (4) TA and MT integrated under the TE cover as a singleentity.

The AT commands (e.g. GSM/UMTS commands) use certain syntax rules.Standardized basic commands are found only in ITU-T RecommendationV.250. GSM/UMTS commands use syntax rules of extended commands. Everyextended command has a test command to test the existence of the commandand to give information about the type of its sub-parameters. Parametertype commands also have a read command to check the current values ofsub-parameters. Action type commands do not store the values of any oftheir possible sub-parameters, and therefore do not have a read command.

The AT commands include: (5.) General commands, (6.) Call controlcommands, (7.) Network service related commands, (8.) Mobile Termination(MT) control and status commands, (9.) Mobile termination errors resultcodes, (10.) Commands for Packet Domain, (11.) Commands for VGCS (VoiceGroup Call Service) and VBS (Voice Broadcast Service), and (12.)Commands for the USIM Application Toolkit.

The (10.) Commands for Packet Domain defines commands that a TE can useto control a MT supporting packet switched services.

Packet Domain MTs will vary widely in functionality. At one extreme, aMT supporting CS/PS or class-A mode of operation might support multiplePDP types as well as circuit switched data, and use multiple externalnetworks and QoS (Quality of Service) profiles. At the other extreme aMT supporting only PS or class-C mode of operation might support only asingle PDP type using a single external network, and rely on the HLR tocontain the PDP context definition.

A comprehensive set of Packet Domain-specific commands provide theflexibility needed by the more complex MT. The commands are designed tobe expandable to accommodate new PDP types and interface protocols,merely by defining new values for many of the parameters. Multiplecontexts can be activated if the interface link-layer protocol is ableto support them. The commands use the extended information and errormessage capabilities. For MTs of intermediate complexity, most commandshave simplified forms where certain parameters can be omitted. For thesimplest MTs, and for backwards compatibility with existingcommunications software, it is possible to control access to the PacketDomain using existing modem-compatible commands. A special dial-stringsyntax is defined for use with the D command.

Within (10.) Commands for Packet Domain, there are (10.1) Commandsspecific to MTs supporting the Packet Domain, and (10.2) Modemcompatibility commands.

The (10.1) Commands specific to MTs supporting the Packet Domain includemany specific commands, including (10.1.1) Define PDP Context command(+CGDCONT) and (10.1.2) Define Secondary PDP Context command(+CGDSCONT). However, among the (10.1) Commands specific to MTssupporting the Packet Domain, there is a (10.1.19) Packet Domain eventreporting command (+CGEREP), which contain portions that the presentinventor has improved upon.

FIG. 5 shows a table for +CGEREP parameter command syntax. Anexplanation of the description, the defined values, and the definedevents, with respect to the +CGEREP parameter command syntax, will beprovided hereafter.

Description

Set command enables or disables sending of unsolicited result codes,+CGEV: XXX from MT to TE in the case of certain events occurring in thePacket Domain MT or the network. <mode> controls the processing ofunsolicited result codes specified within this command. <bfr> controlsthe effect on buffered codes when <mode> 1 or 2 is entered. If a settingis not supported by the MT, ERROR or +CME ERROR: is returned. Readcommand returns the current mode and buffer settings. Test commandreturns the modes and buffer settings supported by the MT as compoundvalues.

Defined Values

<mode>: a numeric parameter

0 buffer unsolicited result codes in the MT; if MT result code buffer isfull, the oldest ones can be discarded. No codes are forwarded to theTE.

1 discard unsolicited result codes when MT-TE link is reserved (e.g. inon-line data mode); otherwise forward them directly to the TE.

2 buffer unsolicited result codes in the MT when MT-TE link is reserved(e.g. in on-line data mode) and flush them to the TE when MT-TE linkbecomes available; otherwise forward them directly to the TE.

<bfr>: a numeric parameter

0 MT buffer of unsolicited result codes defined within this command iscleared when <mode> 1 or 2 is entered.

1 MT buffer of unsolicited result codes defined within this command isflushed to the TE when <mode> 1 or 2 is entered (OK response shall begiven before flushing the codes).

Defined Events

The events are valid for GPRS/UMTS and LTE unless explicitly mentioned.

1) For network attachment, the following unsolicited result codes andthe corresponding events are defined:

+CGEV: NW DETACH

The network has forced a PS detach. This implies that all activecontexts have been deactivated. These are not reported separately.

+CGEV: ME DETACH

The mobile termination has forced a PS detach. This implies that allactive contexts have been deactivated. These are not reportedseparately.

2) For MT class, the following unsolicited result codes and thecorresponding events are defined:

+CGEV: NW CLASS <class>

The network has forced a change of MT class. The highest available classis reported (see +CGCLASS). The format of the parameter <class> is foundin command +CGCLASS.

+CGEV: ME CLASS <class>

The mobile termination has forced a change of MT class. The highestavailable class is reported (see +CGCLASS). The format of the parameter<class> is found in command +CGCLASS.

3) For PDP context activation, the following unsolicited result codesand the corresponding events are defined:

+CGEV: NW PDN ACT <cid>

The network has activated a context. The context represents a PrimaryPDP context in GSM/UMTS. The <cid> for this context is provided to theTE. The format of the parameter <cid> is found in command +CGDCONT.(NOTE 1: This event is not applicable for EPS.)

+CGEV: ME PDN ACT <cid>

The mobile termination has activated a context. The context represents aPDN connection in LTE or a Primary PDP context in GSM/UMTS. The <cid>for this context is provided to the TE. This event is sent either inresult of explicit context activation request (+CGACT), or in result ofimplicit context activation request associated to attach request(+CGATT=1). The format of the parameter <cid> is found in command+CGDCONT.

+CGEV: NW ACT <p_cid>, <cid>, <event_type>

The network has activated a context. The <cid> for this context isprovided to the TE in addition to the associated primary <p_cid>. Theformat of the parameters <p_cid> and <cid> are found in command+CGDSCONT.

<event_type> integer type parameter indicates whether this is aninformational event or whether the TE has to acknowledge it.

0 Informational event

1 Information request: Acknowledgement required. The acknowledgement canbe accept or reject, see +CGANS.

+CGEV: ME ACT <p_cid>, <cid>, <event_type>

The network has responded to an ME initiated context activation. The<cid> for this context is provided to the TE in addition to theassociated primary <p_cid>. The format of the parameters <p_cid> and<cid> are found in command +CGDSCONT. The format of the parameter<event_type> is defined above.

4) For PDP context deactivation, the following unsolicited result codesand the corresponding events are defined:

+CGEV: NW DEACT <PDP_type>, <PDP_addr>, [<cid>]

The network has forced a context deactivation. The <cid> that was usedto activate the context is provided if known to the MT. The format ofthe parameters <PDP_type>, <PDP_addr> and <cid> are found in command+CGDCONT.

+CGEV: ME DEACT <PDP_type>, <PDP_addr>, [<cid>]

The mobile termination has forced a context deactivation. The <cid> thatwas used to activate the context is provided if known to the MT. Theformat of the parameters <PDP_type>, <PDP_addr> and <cid> are found incommand +CGDCONT.

+CGEV: NW PDN DEACT <cid>

The network has deactivated a context. The context represents a PDNconnection in LTE or a Primary PDP context in GSM/UMTS. The associated<cid> for this context is provided to the TE. The format of theparameter <cid> is found in command +CGDCONT. (NOTE 2: Occurrence ofthis event replaces usage of the event +CGEV: NW DEACT <PDP_type>,<PDP_addr>, [<cid>].)

+CGEV: ME PDN DEACT <cid>

The mobile termination has deactivated a context. The context representsa PDN connection in LTE or a Primary PDP context in GSM/UMTS. The <cid>for this context is provided to the TE. The format of the parameter<cid> is found in command +CGDCONT. (NOTE 3: Occurrence of this eventreplaces usage of the event +CGEV: ME DEACT <PDP_type>, <PDP_addr>,[<cid>].)

+CGEV: NW DEACT <p_cid>, <cid>, <event_type>

The network has deactivated a context. The <cid> for this context isprovided to the TE in addition to the associated primary <p_cid>. Theformat of the parameters <p_cid> and <cid> are found in command+CGDSCONT. The format of the parameter <event_type> is defined above.(NOTE 4: Occurrence of this event replaces usage of the event +CGEV: NWDEACT <PDP_type>, <PDP_addr>, [<cid>].)

+CGEV: ME DEACT <p_cid>, <cid>, <event_type>

The network has responded to an ME initiated context deactivationrequest. The associated <cid> is provided to the TE in addition to theassociated primary <p_cid>. The format of the parameters <p_cid> and<cid> are found in command +CGDSCONT. The format of the parameter<event_type> is defined above.

(NOTE 5: Occurrence of this event replaces usage of the event +CGEV: MEDEACT <PDP_type>, <PDP_addr>, [<cid>].)

5) For PDP context modification, the following unsolicited result codesand the corresponding events are defined:

+CGEV: NW MODIFY <cid>, <change_reason>, <event_type>

The network has modified a context. The associated <cid> is provided tothe TE in addition to the <change_reason> and <event_type>. The formatof the parameter <cid> is found in command +CGDCONT or +CGDSCONT. Theformat of the parameters <change_reason> and <event_type> are definedabove.

<change_reason> integer type parameter indicates what kind of changeoccurred.

1 TFT only changed

2 Qos only changed

3 Both TFT and QoS changed

+CGEV: ME MODIFY <cid>, <change_reason>, <event_type>

The mobile termination has modified a context. The associated <cid> isprovided to the TE in addition to the <change_reason> and <event_type>.The format of the parameter <cid> is found in command +CGDCONT or+CGDSCONT. The format of the parameters <change_reason> and <event_type>are defined above.

6) For other PDP context handling, the following unsolicited resultcodes and the corresponding events are defined:

+CGEV: REJECT <PDP_type>, <PDP_addr>

A network request for context activation occurred when the MT was unableto report it to the TE with a +CRING unsolicited result code and wasautomatically rejected. The format of the parameters <PDP_type> and<PDP_addr> are found in command +CGDCONT. (NOTE 6: This event is notapplicable for EPS.)

+CGEV: NW REACT <PDP_type>, <PDP_addr>, [<cid>]

The network has requested a context reactivation. The <cid> that wasused to reactivate the context is provided if known to the MT. Theformat of the parameters <PDP_type>, <PDP_addr> and <cid> are found incommand +CGDCONT. (NOTE 7: This event is not applicable for EPS.)

Among the defined events listed above, the present inventor has improvedupon +CGEV: ME PDN ACT <cid> that is described in item 3) above, whichis related to PDP context activation.

According to the technical solution, this +CGEV event (+CGEV: ME PDN ACT<cid>) is extended (or enhanced) to include a reason code, and tooptionally include a MT allocated <cid_other>, for the case that only asingle address is returned but the requested PDP type is IPv4v6. The MTallocated <cid_other> is included to signal that MT is capable ofactivating the 2nd context of another address type and has alreadyactivated it. It is omitted if the network supports only one type ofaddress, or MT does not support the acticvation of the 2nd contextwithout TE commands.

If such extension or enhancement is not made, and the network supportssingle address bearer only, the MT may wait for the request from TE toestablish the 2nd address bearer. However, the request may never be madeby TE because TE interprets the result as the network not supporting theother address type. This may also result in a race condition that TErequests the 2nd address bearer without knowing MT is doing the same,resulting duplicate requests to the network.

If such extension or enhancement is not made, and the network supportsonly one IP version, the TE may interpret the result as the networksupporting single address bearer only and requests MT to establish PDNconnection/PDP context of another address type not supported by thenetwork.

Such extension of the particular +CGEV event (i.e. +CGEV: ME PDN ACT<cid>) can be described as follows:

+CGEV: ME PDN ACT <cid>[,<reason>[,<cid_other>]]

The mobile termination has activated a context. The context represents aPDN connection in LTE or a Primary PDP context in GSM/UMTS. The <cid>for this context is provided to the TE. This event is sent either inresult of explicit context activation request (+CGACT), or in result ofimplicit context activation request associated to attach request(+CGATT=1). The format of the parameters <cid>, <cid_other> are found incommand +CGDCONT.

The <reason> integer type parameter indicates the reason why the contextactivation request for PDP type IPv4v6 was not granted. This parameteris only included if the requested PDP type associated with <cid> isIPv4v6, and the PDP type assigned by the network for <cid> is eitherIPv4 or IPv6.

0 IPv4 only allowed.

1 IPv6 only allowed.

2 single address bearers only allowed.

3 single address bearers only allowed and MT initiated contextactivation for a second address type bearer was not successful.

The <cid_other> indicates the context identifier allocated by MT for anMT initiated context of a second address type. MT shall only includethis parameter if <reason> parameter indicates single address bearersonly allowed, and MT supports MT initiated context activation of asecond address type without additional commands from TE, and MT hasactivated the PDN connection or PDP context associated with <cid_other>.

(NOTE 1A: For legacy TEs supporting MT initiated context activationwithout TE requests, there is also a subsequent event +CGEV: ME PDN ACT<cid_other> returned to TE.)

Meanwhile, to specify the <cid> parameter, the so-called “Define PDPContext (+CGDCONT)” should also be explained in terms of its descriptionand defined values:

Description

The set command specifies PDP context parameter values for a PDP contextidentified by the (local) context identification parameter, <cid>. Thenumber of PDP contexts that may be in a defined state at the same timeis given by the range returned by the test command.

For EPS the PDN connection and its associated EPS default bearer isidentified herewith. For EPS the <PDP_addr> parameter value shall beomitted.

A special form of the set command, +CGDCONT=<cid> causes the values forcontext number <cid> to become undefined.

The read command returns the current settings for each defined context.

The test command returns values supported as a compound value. If the MTsupports several PDP types, <PDP_type>, the parameter value ranges foreach <PDP_type> are returned on a separate line.

Defined Values

<cid>: a numeric parameter which specifies a particular PDP contextdefinition. The parameter is local to the TE-MT interface and is used inother PDP context-related commands. The range of permitted values(minimum value=1) is returned by the test form of the command.

NOTE 1: The <cid>s for network-initiated PDP contexts will have valuesoutside the ranges indicated for the <cid> in the test form of thecommands +CGDCONT and +CGDSCONT.

To sum up, the various inventive concepts and features of the presentdisclosure can be described in the following manner.

A method of packet domain event reporting performed by MT and comprisesthe steps of: performing context activation for a dual-stack bearer; andreceiving, from the network, information indicating that activation ofthe dual-stack bearer is not possible. The information includes certainreason codes: If the network indicates that it supports IPv4 only, thenMT shall return this event to the TE with reason code 0 (but withoutcid); if the network indicates that it supports IPv6 only, then MT shallreturn this event to the TE with reason code 1 (but without cid); if thenetwork indicates that it supports single address bearers only, bearershould be requested one-by-one (1^(st) bearer already received, soshould only request the 2^(nd) bearer); if MT does not support requestthe 2nd bearer without a command from TE, then MT return this event tothe TE with reason code 2 (but without cid); if the network indicatesthat it supports single address bearers only, bearer should be requestedone-by-one (1st bearer already received, so should only request the 2ndbearer); if MT can autonomously request the 2nd bearer without a commandfrom TE, then MT does not (immediately) return this event to the TE withreason code 2 (but waits until the result of the 2^(nd) bearer comesback from the network)=in this case, it will say reason code 2 withcid_other (2^(nd) request is successful); if the network indicates thatit supports single address bearers only, and MT supports requesting the2^(nd) bearer without a command from TE, MT goes ahead with the request(without telling TE anything), and the result of this 2^(nd) requestfailed, MT tells TE that this is the final result (reason code 3) andneed not allocate a cid_other.

FIG. 6 shows an exemplary signal flow and procedures between a handsetand network that can implement the embodiments described herein.

The various embodiments described herein provide a method of packetdomain event reporting comprising: performing, by a mobile termination(MT) device, context activation for a dual-stack bearer to beestablished with a network; receiving, by the MT device from thenetwork, information indicating that the context activation of thedual-stack bearer is not possible between the network and the MT device;and sending, by the MT device to a terminal equipment (TE), informationabout a reason as to why the context activation of the dual-stack beareris not possible between the network and the MT to thus achieve packetdomain event reporting.

The method further comprises: sending, by the MT device to a terminalequipment (TE), information about a reason as to context activation ofthe dual-stack bearer is not possible due to only single address bearersallowed, and the context activation of the bearer of a 2nd address typewas not successful, to thus achieve packet domain event reporting. Themethod further comprises: sending, by the MT device to the TE,information indicating that the MT device supports MT initiated contextactivation of a second address type, and the success of the contextactivation of the 2nd address type, by providing the context identifierof the activated 2nd context, The MT returns the context identifier ofthe 2nd context activation if three conditions are satisfied. A firstcondition of the three conditions is that the reason indicates that onlysingle address bearers are allowed. A second condition of the threeconditions is that the MT device supports MT initiated contextactivation of the second address type without commands from the TE. Athird condition of the three conditions is that the MT device hasactivated a PDN connection or a PDP context of the second address typeas a result of context activation. The reason indicates that (1) onlyIPv4 is allowed, or (2) only IPv6 is allowed, or (3) only single addressbearers are allowed, or (4) only single address bearers are allowed andthat MT initiated context activation for a second address type bearerwas not successful. The step of sending informing about the reason ofonly single address bearers allowed, and the absence of the contextidentifier of the second address bearer, results in that the TE need notwait and see how it should act because MT does not support the contextactivation of the 2nd address type without a request from the TE, andthe TE can immediately initiate the request of the 2nd address bearer toMT.

Also, with reference to FIG. 7, the present disclosure also provides anapparatus (e.g., device having appropriate hardware components such as aprocessing unit, controller, CPU, microprocessor(s), memory or storage,etc. that access and execute corresponding software code) that is ableto implement and carry out the above-described method.

The mobile station (MS) comprises all user equipment and software neededfor communication with a mobile network. The mobile station refers toglobal system connected to the mobile network, i.e. mobile phone ormobile computer connected using a mobile broadband adapter. This is theterminology of 2G systems like GSM. In the 3G systems, mobile station(MS) is now referred as user equipment (UE).

In GSM, the mobile station consists of four main components:

Mobile Termination (MT)—offers common functions of a such as: radioTransmission and handover, speech encoding and decoding, Error detectionand correction, signalling and access to the SIM. The IMEI code isattached to the MT. It is equivalent to the network termination of anISDN access.

Terminal Equipment (TE)—is any device connected to the MS offeringservices to the user. It does not contain any functions specific to GSM.

Terminal adapter (TA)—Provides access to the MT as if it was an ISDNnetwork termination with extended capabilities. Communication betweenthe TE and MT over the TA takes place using AT commands.

Subscriber Identity Module (SIM)—is a removable subscriberidentification token storing the IMSI a unique key shared with themobile network operator and other data.

In a mobile phone, the MT, TA and TE are enclosed in the same case.However, the MT and TE functions are often performed by distinctprocessors. The application processor serves as a TE, while the basebandprocessor serves as a MT, communication between both takes place over abus using AT commands, which serves as a TA.

The various embodiments described herein provide an apparatuscomprising: a Mobile Termination (MT) that offers functions related tocommunication with a network; a Terminal Equipment (TE) that offersservices to a user of the apparatus; and a Terminal Adaptor (TA) thatallows communication between the MT and the TE using Attention (AT)commands, wherein a packet domain event reporting command (+CGEREP) isone type of AT command that enables or disables sending of result codesfrom the MT to the TE in case certain events occur in the MT for apacket domain or in the network, wherein one type of event is a PacketData Protocol (PDP) context or PDN connection activation, for which theMT sends to the TE a result code that includes an integer type parameterto indicate the reason why a context activation request with PDP typeIPv4v6 was not granted.

The MT has activated a context with a first single address type, whichrepresents a PDN connection in LTE or a PDP context in GSM/UMTS, and theMT provides a <cid> parameter for said context to the TE. The contextactivation request is a result of an explicit context activation request(+CGACT) or a result of an implicit context activation request+CGATT=1). The integer type parameter is included if the networkassigned PDP type is either IPv4 or IPv6, although the contextactivation request with PP type IPv4v6 was made. The integer typeparameter is set =0 to indicate IPv4 only allowed, set=1 to indicateIPv6 only allowed, set =2 to indicate single address bearers onlyallowed, and set=3 to indicate single address bearers only allowed andMT initiated context activation for a second address type bearer was notsuccessful. The result code further includes: an additional parameter<cid_other> that indicates the context identifier allocated by MT for anMT initiated context of a second address type. The MT includes saidadditional parameter if the reason in said integer type parameterindicates single address bearers only allowed, and the MT supports saidMT initiated context activation of the second address type withoutadditional commands from the TE, and the MT has activated the PDNconnection or the PDP context of the 2nd address type associated withthe parameter <cid_other>. The apparatus further comprises: anapplication processor that serves as the TE, a baseband processor thatserves as the MT, and a connection bus that serves as the TA to connectthe application processor with the baseband processor.

The various features and concepts described herein may be implemented insoftware, hardware, or a combination thereof. For example, a computerprogram (that is executed by a processor, controller, CPU, etc. in acomputer, a mobile terminal and/or a network device) that implements amethod and apparatus for improved PDP context activation and/or PDNconnection activation may be comprised of one or more program codesections or modules for performing various tasks. Similarly, a softwaretool (that is executed by a processor, controller, CPU, etc. in acomputer, a mobile terminal and/or a network device) for such method andapparatus may comprise program code sections or modules that areexecuted by a processor (or other controller such as a CPU) forperforming various tasks.

The method and apparatus described in the embodiments herein arecompatible with various types of technologies and standards. Theconcepts described herein can be implemented for a variety of technicalstandards. Some examples are: the 3G (IMT-2000) standard, which includesthose in the 3GPP family [e.g., UMTS (UTRAN), WCDMA-FDD, WCDMA-TDD,UTRA-TDD LCR (TD-SCDMA)], and those in the 3GPP2 family [e.g., CDMA20001xEV-DO Release 0]; the 3G transitional standard (3.5G, 3.75G, 3.9G),which includes those in the 3GPP family [e.g., HSPA, HSPA+, LTE(E-UTRA)], those in the 3GPP2 family [e.g., CDMA2000 1xEV-DO Revision A(TIA/EIA/IS-856-A), EV-DO Revision B (TIA/EIA/IS-856-B), DO Advanced]and those in the IEEE family [e.g., Mobile WiMAX (IEEE 802.16e-2005),Flash-OFDM, IEEE802.20]; the 4G (IMT-Advanced) standard, which includesthose in the 3GPP family [e.g., LTE Advanced (E-UTRA)] and those in theIEEE family [e.g., WiMAX-Advanced (IEEE 802.16m)]; and the so-called 5Gor other future standards being developed. However, it can be understoodthat the above exemplary standards are not intended to be limited, asother related standards and technologies would also be applicable to thevarious features and concepts described herein.

Industrial Applicability

The features and concepts herein are applicable to and can beimplemented in various types of user devices (e.g., mobile terminals,handsets, wireless communication devices, etc.) and/or network devices,entities, components, etc. that can be configured to support improved IPaddressing for IPv4, IPv6 or both.

As the various concepts and features described herein may be embodied inseveral forms without departing from the characteristics thereof, itshould also be understood that the above-described embodiments are notlimited by any of the details of the foregoing description, unlessotherwise specified, but rather should be construed broadly within itsscope as defined in the appended claims. Therefore, all changes andmodifications that fall within such scope or equivalents thereof aretherefore intended to be embraced by the appended claims.

The invention claimed is:
 1. A method of packet domain event reportingperformed by a user equipment (UE) including a mobile termination (MT)and a terminal equipment (TE), the method comprising: performing, by theMT, context activation for establishing a dual-stack bearer between theMT and a network; receiving, by the MT from the network, informationindicating that the context activation of the dual-stack bearer is notpossible between the network and the MT; and sending, by the MT to theTE, a message including a reason parameter selected among a firstparameter to a fourth parameter for indicating a reason as to why thecontext activation of the dual-stack bearer is not possible between thenetwork and the MT to thus achieve packet domain event reporting,wherein the first parameter indicates that an IPv4 (Internet Protocolversion 4) is only allowed, the second parameter indicates that an IPv6(Internet Protocol version 6) is only allowed, the third parameterindicates that 2 single address bearers are only allowed, and the fourthparameter indicates that 3 single address bearers are only allowed andthe MT initiated context activation for a second address type bearer wasnot successful, wherein the MT offers functions related to communicationservices between the network and the TE, and wherein the TE providesservices other than the communication services with the network.
 2. Themethod of claim 1, further comprising: sending, by the MT to the TE,information about a reason as to context activation of the dual-stacknearer is not possible due to only single address bearers allowed, andthe context activation of the bearer of a 2nd address type was notsuccessful, to thus achieve packet domain event reporting.
 3. The methodof claim 1, further comprising: sending, by the MT to the TE,information indicating that the MT supports MT initiated contextactivation of a second address type, and the success of the contextactivation of the 2nd address type, by providing the context identifierof the activated 2nd context, and the MT returns the context identifierof the 2nd context activation if three conditions are satisfied.
 4. Themethod of claim 3, wherein a first condition of the three conditions isthat the reason indicates that only single address bearers are allowed.5. The method of claim 4, wherein a second condition of the threeconditions is that the MT supports MT initiated context activation ofthe second address type without commands from the TE.
 6. The method ofclaim 5, wherein a third condition of the three conditions is that theMT has activated a Public Data Network (PDN) connection or a Packet DataProtocol (PDP) context of the second address type as a result of contextactivation.
 7. The method of claim 1, wherein the step of sendinginforming about the reason of only single address bearers allowed, andthe absence of the context identifier of the second address bearer,results in that the TE need not wait for subsequent execution, becausethe MT does not support the context activation of the 2nd address typewithout a request from the TE, and the TE can immediately initiate therequest of the 2nd address bearer to the MT.
 8. The method of claim 3,wherein the step of sending informing about the reason of only singleaddress bearers allowed, and the absence of the context identifier ofthe second address bearer, results in that the TE need not wait forsubsequent execution, because the MT does not support the contextactivation of the 2nd address type without a request from the TE, andthe TE can immediately initiate the request of the 2nd address bearer tothe MT.
 9. A user equipment for reporting packet domain event, the userequipment comprising: a Mobile Termination (MT) that offers functionsrelated to communication with a network; a Terminal Equipment (TE) thatoffers services other than communication services to a user of the userequipment; and a Terminal Adaptor (TA) that allows communication betweenthe MT and the TE using Attention (AT) commands, wherein a packet domainevent reporting command (+CGEREP) is one type of AT command that enablesor disables sending of result codes from the MT to the TE in casecertain events occur in the MT for a packet domain or in the network,and wherein one type of event is a Packet Data Protocol (PDP) context orPublic Data Network (PDN) connection activation, for which the MT sendsto the TE result code that includes an integer type parameter toindicate the reason why a context activation request with PDP typeIPv4v6 was not granted, wherein the MT is configured to send a messageincluding a reason parameter selected among a first parameter to afourth parameter for indicating a reason as to why the contextactivation of the dual-stack bearer is not possible between the networkand the MT to thus achieve packet domain event reporting, and whereinthe first parameter indicates that an IPv4 is only allowed, the secondparameter indicates that an IPv6 is only allowed, the third parameterindicates that 2 single address bearers are only allowed, and the fourthparameter indicates that 3 single address bearers are only allowed andthe MT initiated context activation for a second address type bearer wasnot successful.
 10. The apparatus of claim 9, wherein the MT hasactivated a context with a first single address type, which represents aPDN connection in LTE or a PDP context in GSM/UMTS, and the MT providesa <cid> parameter for the context to the TE.
 11. The apparatus of claim10, wherein the context activation request is a result of an explicitcontext activation request (+CGACT) or a result of an implicit contextactivation request (+CGATT=1).
 12. The apparatus of claim 11, whereinthe integer type parameter is included if the network assigned PDP typeis either IPv4 or IPv6, although the context activation request with PDPtype IPv4v6 was made.
 13. The apparatus of claim 9, wherein the resultcode further includes; an additional parameter <cid_other> thatindicates the context identifier allocated by the MT for an MT initiatedcontext of a second address type.
 14. The apparatus of claim 13, whereinthe MT includes the additional parameter if the reason in the integertype parameter indicates single address bearers only allowed, and the MTsupports the MT initiated context activation of the second address typewithout additional commands from the TE, and the MT has activated thePDN connection or the PDP context of the 2nd address type associatedwith the parameter <cid_other>.
 15. The apparatus of claim 9, furthercomprising; an application processor that serves as the TE, a basebandprocessor that serves as the MT, and a connection bus that serves as theTA to connect the application processor with the baseband processor.